import { Song } from "../song/song-model.js";
var song = new Song();
var app=getApp();
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  onShow: function () {
    if(!app.globalData.back){
      wx.navigateTo({
        url: "../song/song?from=play&index=0&name='正在播放'",
      });
      console.log("index");
    }else{
      wx.switchTab({
        url: '../index/index',
      });
      app.globalData.back=false;
    }
    
  },

 

})